package com.ruoyi.system.mapper.fx;

import com.ruoyi.system.domain.fx.FxBanner;
import com.ruoyi.system.domain.fx.FxOrder;
import com.ruoyi.system.domain.vo.UserVo;
import com.ruoyi.system.domain.vo.statistic.OrderStatusVo;
import com.ruoyi.system.domain.vo.statistic.StoreStatisticVo;
import com.ruoyi.system.domain.vo.statistic.SupplierStatisticVo;
import com.ruoyi.system.domain.vo.statistic.TopStatisticVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 统计
 */
public interface StatisticMapper
{
    TopStatisticVo selectTop();

    StoreStatisticVo selectStore(@Param("storeId") Long storeId);

    SupplierStatisticVo selectSupplier(@Param("supplierId") Long supplierId);

    /**
     * 用户增涨图
     * @return
     */
    List<UserVo> selectUserDay();

    /**
     * 订单饼图数据
     * @return
     */
    OrderStatusVo selectOrderChart(FxOrder order);

    List<OrderStatusVo> selectFlowingWater(FxOrder order);

    List<OrderStatusVo> selectFlowingWaters(FxOrder order);
}
